package cn.edu.pku.constant;

public enum EnumStatus {
	
	SUCCESS(200,"成功"),
	FAILED(404,"失败"),
	
	RETURN_BOOK(1,"归还"),
	BORROW_BOOK(0,"借出"),
	;

	private Integer status;
	private String desc;
	
	private EnumStatus() {
	}
	private EnumStatus(Integer status, String desc) {
		this.status = status;
		this.desc = desc;
	}
	public Integer getStatus() {
		return status;
	}
	public String getDesc() {
		return desc;
	}
	
}
